The smuthi.linearsystem.tmatrix package

tmatrix

tmatrix.t_matrix

smuthi.linearsystem.tmatrix.t_matrix.internal_mie_coefficient(tau, l, k_medium, k_particle, radius)

Return the Mie coefficients to compute the internal field of a sphere.

Parameters:
  • integer (l) – spherical polarization, 0 for spherical TE and 1 for spherical TM
  • integer – l=1,… multipole degree (polar quantum number)
  • float or complex (k_particle) – wavenumber in surrounding medium (inverse length unit)
  • float or complex – wavenumber inside sphere (inverse length unit)
  • float (radius) – radius of sphere (length unit)
Returns:

Internal Mie coefficients as complex

smuthi.linearsystem.tmatrix.t_matrix.mie_coefficient(tau, l, k_medium, k_particle, radius)

Return the Mie coefficients of a sphere.

Parameters:
  • integer (l) – spherical polarization, 0 for spherical TE and 1 for spherical TM
  • integer – l=1,… multipole degree (polar quantum number)
  • float or complex (k_particle) – wavenumber in surrounding medium (inverse length unit)
  • float or complex – wavenumber inside sphere (inverse length unit)
  • float (radius) – radius of sphere (length unit)
Returns:

Mie coefficients as complex

smuthi.linearsystem.tmatrix.t_matrix.rotate_t_matrix(T, l_max, m_max, euler_angles, wdsympy=False)

T-matrix of a rotated particle.

Parameters:
  • T (numpy.array) – T-matrix
  • l_max (int) – Maximal multipole degree
  • m_max (int) – Maximal multipole order
  • euler_angles (list) – Euler angles [alpha, beta, gamma] of rotated particle in (zy’z’’-convention) in radian
Returns:

rotated T-matrix (numpy.array)

smuthi.linearsystem.tmatrix.t_matrix.t_matrix_sphere(k_medium, k_particle, radius, l_max, m_max)

T-matrix of a spherical scattering object.

Parameters:
  • k_medium (float or complex) – Wavenumber in surrounding medium (inverse length unit)
  • k_particle (float or complex) – Wavenumber inside sphere (inverse length unit)
  • radius (float) – Radius of sphere (length unit)
  • l_max (int) – Maximal multipole degree
  • m_max (int) – Maximal multipole order
Returns:

T-matrix as ndarray